export default function extremilization(entity) {
  for (const key in entity) {
    const value = entity[key];
    if (typeof value !== 'undefined' && value !== null) {
    } else {
      delete entity[key];
    }
  }

  return entity;
}
